@baseColor: #25BC89;
//  轮播图
.zxg_slideShow {
  .carousel-inner .carousel-caption {
    bottom: 0;
    right: 0;
    top: 7rem;
    left: 0;
    text-align: left;
    .caption-describe {
      display: inline-block;
      color: @baseColor;
      background-color: #fff;
      padding: .25rem 1rem;
      font-size: 1.2rem;
    }
    p {
      font-size: .8rem;
    }
    .caption-download {
      width: 12rem;
      height: 2.5rem;
      margin-top: .5rem;
      line-height: 2.5rem;
      text-align: center;
      background-color: @baseColor;
      > a {
        color: #fff;
        .iconfont {
          font-size: 1.5rem;
        }
      }
    }
  }
  .pcImg {
    width: 100%;
    height: 700px;
    display: block;
    background-position: center center;
    /*设置背景图片的大小*/
    background-size: cover;
  }
  .mobileImg{
    width: 100%;
    display: block;
  }
  .mobileImg > img{
    width: 100%;
    display: block;
  }
  .carousel-control.left,.carousel-control.right {
    background-image: none;
  }
  @media screen and (max-width: 500px) {
    .carousel-inner .carousel-caption {
      top: 16px;
      left: 10px;
      .caption-describe {
        padding: 3px 4px;
        font-size: 14px;
      }
      h2 {
        font-size: 16px;
      }
      p {
        font-size: 10px;
      }
      .caption-download {
        width: 130px;
        height: 22px;
        margin-top: 5px;
        line-height: 22px;
        > a {
          font-size: 12px;
          .iconfont {
            font-size: 12px;
          }
        }
      }
    }
  }
}

// 资讯交流块
.zxg-news {
  position: relative;
  top: -50px;
  .container>.row {
    > div {
      &:nth-of-type(1) .news-box::before {
        background: url("../../images/pc/newsofficialicon_1920.png") no-repeat center;
        background-size: 105px 105px;
      }
      &:nth-of-type(2) .news-box::before {
        background: url("../../images/pc/newstrendsicon_1920.png") no-repeat center;
        background-size: 105px 105px;
      }
      &:nth-of-type(3) .news-box::before {
        background: url("../../images/pc/newsscienceicon_1920.png") no-repeat center;
        background-size: 105px 105px;
      }
    }
    .news-box {
      margin: 0 15px 80px;
      height: 280px;
      background-size: cover;
      position: relative;
      text-align: center;
      color: #fff;
      cursor: pointer;
      >div:first-of-type {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
      }
      > .news-box1 {
        background: url("../../images/pc/newsofficial_1920.png") no-repeat center;
      }
      > .news-box2 {
        background: url("../../images/pc/newstrends_1920.png") no-repeat center;
      }
      > .news-box3 {
        background: url("../../images/pc/newsscience_1920.png") no-repeat center;
      }

      &::before {
        content: '';
        width: 105px;
        height: 105px;
        display: block;
        z-index: 10;
        position: absolute;
        top: 0;
        left: 50%;
        transform: translate(-50%, -50%);
      }

      &::after {
        content: '查看更多';
        padding: 5px 20px;
        color: @baseColor;
        border: 1px solid @baseColor;
        background-color: #fff;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translate(-50%, 50%);
        cursor: pointer;
        white-space : normal nowrap ;
      }
      .news-text {
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        top: 0;
        z-index: 999;
        > h3 {
          padding-top: 80px;
          font-weight: 700;
        }
        > p {
          margin-top: 40px;
        }
      }
      &:hover {
        .news-boxpopup {
          height: 100%;
        }
      }
      .news-boxpopup {
        width: 100%;
        height: 0;
        position: absolute;
        bottom: 0;
        left: 0;
        background-color: rgba(37,188,137,.6);
        -webkit-transition: height 1s;
        -moz-transition: height 1s;
        -ms-transition: height 1s;
        -o-transition: height 1s;
        transition: height 1s;

      }
    }
  }
}
@media screen and (max-width: 768px) {
  .zxg-news {
    top: 10px;
    .container>.row .news-box {
      width: 100%;
      height: 8rem;
      margin: 0 auto 25px;
      &::before {
        display: none;
      }
      &:last-of-type p {
        margin-top: 0;
      }
      .news-text {
        > h3 {
          padding-top: 0;
        }
        >p {
          margin-top: .7rem;
        }
      }
    }
  }
}

// 关于装修哥
.zxg-about {
  padding: 20px;
  .container {
    .row {
      .about-text {
        padding-right: 50px;
        padding-top: 200px;
        >h2 {
          font-weight: 500;
          font-size: 1.8rem;
          color: @baseColor;
          margin-bottom: 40px;
          >b {
            font-weight: 500;
            color: #000;
            border-bottom: 2px solid @baseColor;
          }
        }
        p {
          line-height: 1.5rem;
          font-size: 1rem;
        }
        span {
          font-size: 1rem;
          color: #333;
        }
      }
      @media screen and (max-width: 1200px) {
        .about-text {
        padding-top: 100px;
        }
      } 
      @media screen and (max-width: 992px) {
        .about-text {
        padding-top: 50px;
        }
      } 
      @media screen and (max-width: 768px) {
        .about-text {
          padding: 0;
        }
        .about-img {
          padding-top: 50px;
        }
      }

    }
  }
}

// 找活
.zxg-jobs {
  text-align: center;
  background-color: #fbfbfb;
  padding: 30px;
  position: relative;
  >h2 {
    font-weight: 500;
    padding: 55px 0 15px;
  }
  >p {
    font-size: 1rem;
    color: #333;
    margin-bottom: 20px;
  }
  .jobs-box {
    width: 100%;
    border: 2px solid #ccc;
    border-left: 2px solid @baseColor;
    background-color: #fff;
    margin-bottom: 30px;
    padding: 15px;
    box-sizing: border-box;
    cursor: pointer;
    position: relative;
    .jobs-box--border-line {
      background:rgba(0,0,0,0) none repeat scroll 0 0;
      border:0 none;
      box-shadow:0 0 0 0 transparent inset;
      box-sizing:border-box;
    }
    .jobs-box--border-line::after,.jobs-box--border-line::before {
      content: '';
      display: block;
      position: absolute;
      border:2px solid transparent;
      box-sizing:content-box;
      height:0;
      width:0;
    }
    .jobs-box--border-line::after {
      left:-2px;
      bottom:-2px;
      transition:border-color 0s ease-in 1.6s,width 0.4s ease-in 1.2s,height 0.4s ease-in 0.8s;
    }
    .jobs-box--border-line::before {
      top:-2px;
      right:-2px;
      transition:border-color 0s ease-in 0.8s,width 0.4s ease-in 0.4s,height 0.4s ease-in 0s;
    }
    .jobs-box--border-line:hover::after,.jobs-box--border-line:hover::before {
      height:100%;
      width:100%;
    }
    .jobs-box--border-line:hover::after {
      border-bottom-color: @baseColor;
      border-right-color: @baseColor;
      transition:width 0.4s ease-out 0s,height 0.4s ease-out 0.4s;
    }
    .jobs-box--border-line:hover::before {
      //border-right-color: @baseColor;
      border-top-color: @baseColor;
      transition:border-color 0s ease-out 0.8s,width 0.4s ease-out 0.8s,height 0.4s ease-out 1.2s;
    }
    .media {
      margin-bottom: 10px;
      .media-left {
        width: 82px;
        height: 81px;
        border-radius: 10px;
      }
      .media-body {
        text-align: left;
        padding-left: 23px;
        .media-heading {
          font-size: 20px;
          line-height: 30px;
          >span {
            font-size: 12px;
            color: #fff;
            background-color: @baseColor;
            padding: 2px 3px;
            border-radius: 3px;
            margin-left: 6px;
          }
        }
        .glyphicon {
          color: @baseColor;
        }
        .media-address {
          font-size: 16px;
          overflow: hidden;
          text-overflow: ellipsis;
          display: -webkit-box;
          -webkit-line-clamp: 2;
          -webkit-box-orient: vertical;
        }
      }
    }
    .jobs-list {
      text-align: left;
      font-size: 16px;
      border-top: 1px solid #ccc;
      list-style: none;
      li {
        position: relative;
        margin-top: 6px;
        padding-left: 28px;
        &::before {
          content: '';
          display: block;
          width: 6px;
          height: 6px;
          background-color: @baseColor;
          border-radius: 50%;
          position: absolute;
          top: 50%;
          left: 6px;
          transform: translateY(-3px);
        }
      }
    }
  }

  .jobs-popup {
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,.4);
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    .popup-box {
      width: 418px;
      height: 517px;
      padding: 100px;
      background: url("../../images/pc/zxg-jobspopup.png") no-repeat center;
      background-size: cover;
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%,-50%);
      > p {
        font-size: 30px;
        line-height: 1;
        &:last-of-type {
          padding-bottom: 15px;
        }
        > span {
          color: @baseColor;
        }
      }
      > span:first-of-type {
        width: 20px;
        height: 20px;
        display: block;
        margin: 20px auto 0;
        background-image: url("../../images/pc/popup-arrow.jpg");
        background-size: 20px 20px;
      }
      .popup-close {
        width: 30px;
        height: 30px;
        display: block;
        background: url("../../images/pc/jobs-close.png") no-repeat center;
        background-size: 30px 30px;
        position: absolute;
        top: 0;
        right: 0;
        cursor: pointer;
      }
    }

  }
  @media screen and (max-width: 768px) {
    .jobs-popup {
      .popup-box {
        width: 70%;
        height: 517px;
        padding: 0;
        padding-top: 100px;
        .popup-close {
          top: 0;
          right: -35px;
        }
      }
    }
  }
  @media screen and (max-width:992px) {
    >h2 {
      padding: 55px 0 15px;
    }
  }
  @media screen and (max-width:992px) {
    >h2 {
      padding-top: 25px;
    }
  }
}

// 找人
.zxg-man {
  color: #fff;
  text-align: center;
  position: relative;
  background: url("../../images/pc/zxg-manbg.jpg") no-repeat center;
  background-size: cover;
  >h2 {
    font-size: 1.5rem;
    margin: 0;
    padding-top: 3rem;
    padding-bottom: 1.5rem;
    & + p {  // h2的下一个元素节点p
      
    }
  }
  .container {
    .swiper-container {
      padding: 3rem;
      .swiper-slide {
        .worker-info {
          width: 19.2rem;
          height: 27rem;
          background-color: #F3F3F3;
          padding: .3rem;
          box-sizing: border-box;
          color: #000;
          .worker-info-header {
            width: 100%;
            height: 13.5rem;
            background-color: #fff;
            padding: 1.3rem .7rem 0;
            box-sizing: border-box;
            .worker-info-header-grade {
              position: relative;
              border-bottom: 2px dashed #ddd;
              &::before,&::after {
                content: '';
                display: block;
                width: .5rem;
                height: .5rem;
                position: absolute;
                bottom: -.25rem;
                border-radius: 50%;
                background-color: #F3F3F3;
              }
              &::before {
                left: -.95rem;
              }
              &::after {
                right: -.95rem;
              }
              .worker-info-header-grade-left {
                width: 3.2rem;
                height: 3.2rem;
                border-radius: 50%;
                background: url("../../images/pc/man.jpg") no-repeat center;
                background-size: cover;
                position: absolute;
                top: 0;
                left: 0;
              }
              .worker-info-header-grade-right {
                margin-left: 3.8rem;
                text-align: left;
                .worker-info-name {
                  font-size: 1rem;
                  margin: 0;
                }
                .worker-info-gps {
                  color: #555;
                  font-size: .7rem;
                }
                .worker-info-praise {
                  position: absolute;
                  top: 1.2rem;
                  right: 0;
                  color: #2BBE86;
                  font-size: .7rem;
                  .icon-dianzan1 {
                    font-size: 1.6rem;
                  }
                }
                .worker-info-line {
                  border-top: 2px dashed #ddd;
                  margin-top: .8rem;
                }
                .iconfont {
                  color: #2BBE86;
                  font-size: .7rem;
                }
                .worker-info-ability {
                  color: #999;
                  font-size: .7rem;
                  > li {
                    line-height: 1.5rem;
                    i {
                      color: #FFB715;
                      font-style: normal;
                      font-family: simsun;
                    }
                  }
                }
              }
            }
            .worker-info-header-btn {
              .btn-recruit,.btn-collect {
                width: 7.6rem;
                height: 1.8rem;
                border-radius: 3px;
                margin-top: .55rem;
                font-size: .7rem;
                color: #fff;
              }
              .btn-recruit {
                background-color: #2BBE86;
              }
              .btn-collect {
                background-color: #FFB715;
                margin-left: .65rem;
              }
            }
          }
          .worker-info-footer {
            .worker-info-footer-title {
              font-size: .9rem;
              line-height: 2.7rem;
              text-align: left;
              margin: 0;
              .iconfont {
                font-size: 1.1rem;
                color: #FE5E5E;
              }
            }
            .worker-info-footer-content {
              font-size: .7rem;
              background-color: #fff;
              ul {
                text-align: left;
                padding: .3rem 0 .3rem .8rem;
                li {
                  line-height: 1.8rem;
                  i {
                    font-style: normal;
                    color: #999;
                  }
                  b {
                    font-style: normal;
                    font-weight: normal;
                    color: #4B4B4B;
                    margin-left: .9rem;
                  }
                }
              }
            }
          }
        }
      }
      .swiper-pagination {
        /*包裹自定义分页器的div的位置等CSS样式*/  
        .swiper-pagination-custom {  
            bottom: -10px;  
            left: 0;  
            width: 100%;  
        }  
        /*自定义分页器的样式，这个你自己想要什么样子自己写*/  
        .swiper-pagination-customs {  
            width: 2rem;  
            height: .3rem;  
            display: inline-block;  
            background: #fff;  
            opacity: .3;  
            margin: 0 5px;  
        }  
        /*自定义分页器激活时的样式表现*/  
        .swiper-pagination-customs-active {  
            opacity: 1;  
            background-color: #fff;  
        } 
      }
    }
  }
  .swiper-button-prev,.swiper-button-next {
    width: 1rem;
    height: 1.5rem;
    margin-top: -.75rem;
    background-size: 1rem 1.5rem;
    border: 1px solid #fff;
    padding: 0.3rem;
    box-sizing: content-box;
  }
  .man-more {
    color: #fff;
    padding: 2rem;
  }
}

// 下载块
.zxg-download {
  .container .row {
    .download-img {
      margin-left: -10rem;
      position: relative;
      left: -30rem;
      img {
        width: 100%;
      }
    }
    .download-text {
      padding-top: 10rem;
      h2 {
        color: @baseColor;
        border-left: 2px solid @baseColor;
        padding-left: 1.5rem;
        margin-bottom: 4.5rem;
        font-size: 1.5rem;
      }
      p {
        line-height: 2rem;
        padding-bottom: 3rem;
      }
      .download-code {
        img {
          height: 8rem;
        }
      }
      .download-iphone,.download-android{
        position: absolute;
        left: 10rem;
        background-color: @baseColor;
        padding: .2rem;
        > a {
          color: #fff;
        }
      }
      .download-iphone{
        bottom: 5rem;
      }
      .download-android {
        bottom: 1rem;
      }
      .iconfont {
        font-size: 1.5rem;
      }
    }
  }
}
@media screen and (max-width: 992px) {
  .zxg-download {
    .container .row {
      .download-img {
        margin-top: 0;
      }
      .download-text {
        h2 {
          margin-bottom: 1rem;
        }
        p {
          line-height: 1.4rem;
          padding-bottom: 1rem;
        }
      }
    }
  }
}
@media screen and (max-width: 768px) {
  .zxg-download {
    .container .row {
      .download-img {
        margin: 0 -15px;
      }
      .download-text {
        padding-top: 5rem;
        margin: 0 -15px;
        .download-code {
          visibility: hidden;
        }
        .download-android,.download-iphone {
          left: 15px;
        }
      }
    }
  }
}
@media screen and (max-width: 500px) {
  .zxg-download {
    .container .row {
      .download-img {
        margin-left: -5rem;
        margin-top: 3rem;
      }
      .download-text {
        padding-top: 1rem;
      }
    }
  }
}

// FAQ
.zxg-faq {
  background-color: @baseColor;
  padding-top: 2rem;
  padding-bottom: 2rem;
  color: #fff;
  .faq-common .row {
    h2 {
      font-size: 1.3rem;
      line-height: 3rem;
      >b {
        font-size: 2.2rem;
      }
    }
  }
  .container .row {
    dl {
      > dt {
        line-height: 3rem;
      }
      > dl {
        font-weight: 200;
      }
    }
    .faq-more {
      padding: .5rem;
      display: inline-block;
      margin-top: 1rem;
      background-color: rgba(0,0,0,.3);
      cursor: pointer;
    }
  }
}
